<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<jsp:include page="/common/backend_common.jsp"/>
	<title>机构展示界面</title>
</head>
<body class="layui-layout-body">
<input type="hidden" id="deptId" name="deptId">
<div class="admin-breadcrumb">
	<span class="layui-breadcrumb" lay-separator=">>">
	  <a href="">权限管理</a>
	  <a><cite>机构管理</cite></a>
	</span>
</div>
<hr>
<div class="layui-row">
	<div class="layui-col-md3">
      	<div class="treeLeftTitle" id="layerDemo">机构列表</div>
		<div class="layui-btn-group treeLeftContextAdd">
			<button class="layui-btn layui-btn-normal layui-btn-sm" dtree-id="deptTree" dtree-menu="moveDown">展开节点</button>
			<button class="layui-btn layui-btn-normal layui-btn-sm" dtree-id="deptTree" dtree-menu="moveUp">收缩节点</button>
		</div>
		<div class="treeLeftContext">
			<ul id="deptTree" class="dtree" data-id="0"></ul>
		</div>
		<div class="treeLeftContextAdd">
			<div class="layui-input-inline" style="width: 80%">
			  <input class="layui-input" id="searchInput" value="" placeholder="输入查询节点内容...">
			</div>
			<div class="layui-input-inline">
			  <button class="layui-btn layui-btn-normal layui-btn-sm" id="search_btn">查询</button>
			</div>
		</div>
    </div>
	<div class="layui-col-md9">
      	<div class="treeRightTitle">机构信息</div>
      	  <div class="layui-btn-group">
		    <button class="layui-btn layui-btn-normal" id="deptSave" href="/sys/dept/deptSave.page">增加</button>
		    <!-- <button class="layui-btn layui-btn-normal" class="popstyle deptEdit" onclick="checkDeptId(this);" href="/sys/dept/deptSave.page">编辑</button> -->
		    <button class="layui-btn layui-btn-normal" id="deptDelete" href="/sys/dept/delete.json">删除</button>
		  </div>
		<hr/>
      	<div class="treeRightContext">
      		<iframe class="iframeRightContext" src="" id="deptRightContext" height="68%" width="98%" scrolling="auto" frameborder="0"></iframe>
    	</div>
    </div>
</div>

<script type="text/javascript" src="../../../other/js/config.js"></script>
<script type="text/javascript" src="dept.js"></script>
<script>
//JavaScript代码区域
</script>
</body>
</html>